package com.jye.rseven.user.mapper;

import com.jye.rseven.domain.PtGoods;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface PtGoodsMapper {
    void addPtGoods(@Param("ptGoods") PtGoods ptGoods);

    List<PtGoods> findPtGoods(@Param("skip") int skip, @Param("limit") int limit);

    PtGoods findPtGodsById(@Param("id") int id);

    List<PtGoods> findPtGoodsByName(@Param("ptGoodName") String ptGoodsName);
}
